var myCommentObj = {
    el: '#pageApp',
    data: {
      userMsg:{},
      coments:[]
    },
    components:{

    },
    methods: {
      getMyComments:function(){
        var _this = this;
        g.ajax({
          type: 'GET',
          url: g.url.format('/api/author/getMyComments'),
          success: function (result) {
            _this.coments = result.data;
          }
        });
      } 
    },
    mounted:function () {
      this.getMyComments();
    }
};
var initPage = function(){
  new Vue(myCommentObj);
};